﻿<UserControl xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" 
             xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"  x:Class="Fan.Dongping.Ali.Notepad.SL.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="900" Height="550"
              Loaded="UserControl_Loaded"
             >
    <Grid x:Name="LayoutRoot" Background="Blue" Grid.Row="2" Grid.Column="2" ShowGridLines="True">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid x:Name="frontGrid" Background="DarkOrange" Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="1" ShowGridLines="True">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="170"></ColumnDefinition>
                <ColumnDefinition Width="170"></ColumnDefinition>
                <ColumnDefinition Width="*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Button x:Name="buttonAddNote"  Click="buttonAddNote_Click" >
                <TextBlock >添加Note</TextBlock>
            </Button>

        </Grid>
        <data:DataGrid x:Name="DataGridNotes" Grid.Column="1" Grid.Row="1">



        </data:DataGrid>
    </Grid>
</UserControl>
